import request from '@/api'

export function upload(data) {
    return request({
        url: '/upload',
        method: 'post',
        data: data
    })
}
export function getimg(query) {
    return request({
        url: '/getImg',
        method: 'get',
        params: query
    })
}